function submitChecked(){
	$("#errInfo").css("color", "red").css("font-weight", "bold").css("border", "1px solid green");
	var $user = $("#user").val();
	if($user == ''){
		$("#errInfo").html("用户名不能为空!!!");
		return;
	}
	var $phone = $("#phone").val();
	if($phone == ''){
		$("#errInfo").html("手机号码不能为空!!!");
		return;
	}


	function lottery() {
		var str = document.getElementById("putNum").value;
		if (str == "") {
			$("#errLoginInfo").html("请输入正确的数字！");
			$("#errLoginInfo").css("color","red");
			//alert("请输入正确的数字！")
			return;
		}else{
			$("#errLoginInfo").html("");
		}
	}
	

	function check() {
		$(".check").empty();
		lottery();
		var str = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
		var len = str.length;
		var nums = $("#num").val();
		console.log(nums);
		for (var x = 0; x < nums; x++) {
			var num = Math.round(8 + Math.random() * (11 - 8 + 1));
			console.log(num);
			var arr = "";
			for (var i = 0; i < num; i++) {
				arr += (str.charAt(Math.round(Math.random() * (len - 1))));
			}
			var $ulStr = "";
			$ulStr += `<ul>
						<li>${arr}</li>
					</ul>`;
			$(".check").append($ulStr);
			console.log(arr);
		}
	}
}